package iD220711010131;

import java.util.Scanner;

public class Test {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int k = scan.nextInt();
        for (int x = 1; x <= 2 * k; x++) {
            if ((x - k) != 0 && (k * x) % (x - k) == 0) {
                int temp = (k*x)/(x-k);
                if (temp > 0) {
                    System.out.println(k + "=" + "1/" + x + "+1/" + temp);
                }
            }
        }
    }
}
